package com.tfjybj.itoo.teach.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * BuildingModel
 * 前端树状显示建筑信息整合Model
 *
 * @author 段恩刚
 * @version 2.0.0
 * @since 2.0.0 2018-11-08 19:34:10
 */
@ApiModel(value = "BuildingModel:建筑表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class InfoIntegrationTreeModel implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "building主键")
    @Column(name = "id")
    private String Id;

    /**
     * buildingId
     */
    @ApiModelProperty(value = "建筑Id",required = true)
    private String buildingId;

    /**
     * 建筑名称
     */
    @ApiModelProperty(value = "建筑名称",required = true)
    private String buildingName;

    /**
     * 建筑类型Id（0-教学楼，1-办公楼，2-宿舍楼，3-餐厅，4-图书馆）
     */
    @ApiModelProperty(value = "建筑类型（000-教学楼，001-办公楼，002-宿舍楼，003-餐厅，004-图书馆）")
    private String buildingTypeId;

    /**
     * 建筑类型名称
     */
    @ApiModelProperty(value = "建筑类型名称")
    private String buildingTypeName;

    /**
     * 房间名称
     */
    @ApiModelProperty(value = "房间名称")
    private String roomName;

    /**
     * 房间Id
     */
    @ApiModelProperty(value = "房间Id")
    private String roomId;

    /**
     * 校区名称
     */
    @ApiModelProperty(value = "校区名称")
    private String schoolBranchName;

    /**
     * 校区Id
     */
    @ApiModelProperty(value = "校区Id")
    private String schoolBranchId;

    /**
     * 校区父Id
     */
    @ApiModelProperty(value = "校区父Id")
    private String schoolBranchParentId;

    /**
     * 类型Id
     */
    @ApiModelProperty(value = "类型Id")
    private String typeId;

    /**
     * 父节点
     */
    @ApiModelProperty(value = "父节点")
    private String parentId;

}
